raleigh: Don't set bg-color for all widgets
authorBenjamin Otte <otte@redhat.com>
Wed, 1 Feb 2012 23:04:08 +0000 (00:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 1 Feb 2012 23:05:51 +0000 (00:05 +0100)
Just set oit for things that need it.
(FIXME: Buttons should probably not need it, but spinbuttons and
treeview headers don't have a proper background without it.)

gtk/gtk-default.css

index f068684c3acf951c6e8bb2decc53590447166ae0..113811f85f064945fb2d71c26395573f30aaed02 100644 (file)
 @define-color error_bg_color rgb (237, 54, 54);
 
 * {
-  background-color: @bg_color;
   color: @fg_color;
   border-color: shade (@bg_color, 0.6);
   padding: 2;
   border-width: 0;
 }
 
+GtkWindow, .button, .slider {
+  background-color: @bg_color;
+}
+
 *:prelight {
   background-color: shade (@bg_color, 1.05);
   color: shade (@fg_color, 1.3);